package org.itboys.basetemplate.service;

import org.itboys.basetemplate.entity.VoucherRule;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class VoucherRuleService extends BaseService<VoucherRule, Long> {

	private static final long serialVersionUID = -2792207845905508305L;
	
	@Resource(name="adminDS")
	private MongoDataSource dictDataSource;
	
	protected MongoDataSource getMongoDataSource() {
		return dictDataSource;
	}

	protected Class<VoucherRule> getEntityClass() {
		return VoucherRule.class;
	}

}
